package com.panda.multiple.tenant3.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

@Setter
@Getter
@NoArgsConstructor
@Builder
@AllArgsConstructor
@TableName(value = "tbl_tenant")
public class Tenant implements Serializable {
    @TableId(value = "id")
    private String id;
    @TableField(value = "name")
    private String name;
    @TableField(value = "create_by")
    private Long createBy;
    @TableField(value = "update_by")
    private Long updateBy;
    @TableField(value = "create_time")
    private LocalDateTime createTime;
    @TableField(value = "update_time")
    private LocalDateTime updateTime;
    @TableField(value = "enable")
    private Boolean enable;
    @TableLogic
    @TableField(value = "deleted")
    private Boolean deleted;
}
